<template>
  <el-menu
      :default-active="activeIndex2"
      class="el-menu-demo"
      mode="horizontal"
      @select="handleSelect"
      background-color="#545c64"
      text-color="#fff"
      active-text-color="#ffd04b"
  >
    <el-menu-item index="0">
      <img src="@/assets/images/logo/logo.png" alt="图片描述" style="width: 60px; height: 60px; margin-right: 10px;">
    </el-menu-item>
  </el-menu>
</template>
<script>
export default {
  name: "frontHeader",
  data() {
    return {
      activeIndex: '1',
      activeIndex2: '1'
    };
  },
  methods: {
    handleSelect(key, keyPath) {
      console.log(key, keyPath);
    }
  }
}
</script>
